<template>
  <div class="layout-page">
    <!-- 二级路由的出口 -->
    <router-view></router-view>

    <van-tabbar route v-model="active">
      <van-tabbar-item  to="/homepage" icon="home-o"
        >首页</van-tabbar-item
      >
      <van-tabbar-item  to="/lookhouse" icon="search"
        >找房</van-tabbar-item
      >
      <van-tabbar-item  to="/seekmsg" icon="todo-list-o"
        >咨询</van-tabbar-item
      >
      <van-tabbar-item  to="/myname" icon="manager-o"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage',
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style  lang="less" scoped>
</style>
